package com.pp.bean;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 商品评价
 * </p>
 *
 * @author 张子艺
 * @since 2019-04-03
 */
@ApiModel(value="GovGoodsEacheStor对象", description="商品评价")
public class GovGoodsEacheStor extends Model<GovGoodsEacheStor> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @ApiModelProperty(value = "口感评分 1分")
    @TableField("each_one_stor")
    private Integer eachOneStor;

    @ApiModelProperty(value = "口感评分2分")
    @TableField("each_two_stor")
    private Integer eachTwoStor;

    @ApiModelProperty(value = "口感评分 3分")
    @TableField("each_sree_stor")
    private Integer eachSreeStor;

    @ApiModelProperty(value = "口感评分4分")
    @TableField("each_for_stor")
    private Integer eachForStor;

    @ApiModelProperty(value = "口感评分5分")
    @TableField("each_five_stor")
    private Integer eachFiveStor;

    @ApiModelProperty(value = "评价关键字")
    @TableField("keyword")
    private String keyword;

    @ApiModelProperty(value = "中英文 1 中 2 英文")
    @TableField("lang")
    private Integer lang;
    @ApiModelProperty(value = "关联商品ID")
    @TableField("relacation_id")
    private Long relacationId;

    public Long getRelacationId() {
        return relacationId;
    }

    public void setRelacationId(Long relacationId) {
        this.relacationId = relacationId;
    }

    public Integer getLang() {
        return lang;
    }

    public void setLang(Integer lang) {
        this.lang = lang;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Integer getEachOneStor() {
        return eachOneStor;
    }

    public void setEachOneStor(Integer eachOneStor) {
        this.eachOneStor = eachOneStor;
    }
    public Integer getEachTwoStor() {
        return eachTwoStor;
    }

    public void setEachTwoStor(Integer eachTwoStor) {
        this.eachTwoStor = eachTwoStor;
    }
    public Integer getEachSreeStor() {
        return eachSreeStor;
    }

    public void setEachSreeStor(Integer eachSreeStor) {
        this.eachSreeStor = eachSreeStor;
    }
    public Integer getEachForStor() {
        return eachForStor;
    }

    public void setEachForStor(Integer eachForStor) {
        this.eachForStor = eachForStor;
    }
    public Integer getEachFiveStor() {
        return eachFiveStor;
    }

    public void setEachFiveStor(Integer eachFiveStor) {
        this.eachFiveStor = eachFiveStor;
    }
    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "GovGoodsEacheStor{" +
        "id=" + id +
        ", eachOneStor=" + eachOneStor +
        ", eachTwoStor=" + eachTwoStor +
        ", eachSreeStor=" + eachSreeStor +
        ", eachForStor=" + eachForStor +
        ", eachFiveStor=" + eachFiveStor +
        ", keyword=" + keyword +
        "}";
    }
}
